package cc.eguid.tools.msg;

import java.io.Serializable;

/**
 * 键盘事件消息
 */
public class KeyEventMessage implements Serializable {
    private String type;
    private int keyCode;
    private char keyChar;

    public KeyEventMessage(String type, int keyCode, char keyChar) {
        this.type = type;
        this.keyCode = keyCode;
        this.keyChar = keyChar;
    }

    public String getType() { return type; }
    public int getKeyCode() { return keyCode; }
    public char getKeyChar() { return keyChar; }
}
